﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/MasterPage.Master"  AutoEventWireup="True" CodeBehind="BGM_Manage_Project.aspx.cs" Inherits="KPIS.GERP.GBMS.APP_UI.Form.BGM_Manage_Project" enableEventValidation="false" %>

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<%@ Register src="../Controls/Panel/UserPanel.ascx" tagname="UserPanel" tagprefix="uc3" %>
<%@ Register src="../Controls/Combo/YearCombo.ascx" tagname="YearCombo" tagprefix="uc1" %>

<asp:Content ID="Content2" ContentPlaceHolderID="head" Runat="Server">
    <link rel="StyleSheet" href="../../Styles/StyleSheet.css" type="text/css" />
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

 <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">

        var bodyOverflow, htmlOverflow; function closeHandler(sender, args) { document.body.style.overflow = bodyOverflow; document.documentElement.style.overflow = htmlOverflow; sender.remove_close(closeHandler); }
        function OpenPopUpHideParentScrollBar(url, radwindowId) { bodyOverflow = document.body.style.overflow; htmlOverflow = document.documentElement.style.overflow; document.body.style.overflow = "hidden"; document.documentElement.style.overflow = "hidden"; var oWnd = radopen(url, radwindowId); oWnd.add_close(closeHandler); }

        function openProjectDetails(seq) {
            var bgm_year = $find("<%= txtBgmYear.ClientID %>")._value;
            var id = $find("<%= ddlJobSite.ClientID %>")._value;
            OpenPopUpHideParentScrollBar("BGM_Project1.aspx?seq=" + seq + "&year=" + bgm_year + "&id=" + id + "&type=pj", "Project");

            return false;
        }

        function openReport() {

            OpenPopUpHideParentScrollBar("BGM_Project_Payment_Report.aspx", "Report");
        }

        function openOptionSummary(type) {
            var bgm_year = $find("<%= txtBgmYear.ClientID %>")._value;
            OpenPopUpHideParentScrollBar("BGM_ProjectOptionSummary.aspx?seq=" + type + "&year=" + bgm_year + "&type=pj", "Project");

            return false;
        }

        function openProjectControl() {

            var bgm_year = $find("<%= txtBgmYear.ClientID %>")._value;
            var id = $find("<%= ddlJobSite.ClientID %>")._value;
            OpenPopUpHideParentScrollBar("BGM_Project_Control.aspx?id=" + id + "&bgm_year=" + bgm_year, "Control");

            return false;
        }

        function openProjectControlHistory() {
            var bgm_year = $find("<%= txtBgmYear.ClientID %>")._value;
            window.open("ExportReport.aspx?report=ExpenseControlSummary&bgm_year=" + bgm_year);

            return false;
        }

        function closeRadWindow(sender, args) {
            return false;
        }

    </script>
 </telerik:RadCodeBlock>

        <%--function openProjectDetails(id) {

            radopen("BGM_Project_Report.aspx?id=" + id, "Project");

            return false;
        }--%>
 
     <telerik:RadWindowManager 
        ID="RadWindowManager1" 
        ShowContentDuringLoad="false" 
        VisibleStatusbar="false" 
        ReloadOnShow="true" 
        runat="server" 
        Skin="Web20" 
        Modal="true" 
        KeepInScreenBounds="true" 
        Style="z-index: 7000">
        <Windows>
            <telerik:RadWindow 
                ID="Project" 
                runat="server" 
                AutoSize="true"
                Behaviors="Reload, Close"
                OnClientClose="closeRadWindow">
            </telerik:RadWindow>
                <%--Width="1000px" Height="650px"--%>
            <telerik:RadWindow 
                ID="Control" 
                runat="server" 
                AutoSize="true"
                Behaviors="Reload, Close"
                OnClientClose="closeRadWindow">
            </telerik:RadWindow>
                <%--Width="1000px" Height='<%# Unit.Pixel(new SsMng().GetUssI(SsMng.SsUserType.Height) - 100) %>'--%>
            <telerik:RadWindow 
                ID="History" 
                runat="server" 
                AutoSize="true"
                Behaviors="Reload, Close"
                OnClientClose="closeRadWindow">
            </telerik:RadWindow>
                <%--Width="1000px" Height='<%# Unit.Pixel(new SsMng().GetUssI(SsMng.SsUserType.Height) - 100) %>'--%>
            <telerik:RadWindow 
                ID="Report" 
                runat="server" 
                AutoSize="true"
                Behaviors="Reload, Close, Move"
                OnClientClose="closeRadWindow">
            </telerik:RadWindow>
                <%--Width="1000px" Height='350px'--%>
            <telerik:RadWindow ID="TaskLists" runat="server" Behaviors="Reload, Close" AutoSize="true"><%--  Width="1000px"Height='<%# Unit.Pixel(new SsMng().GetUssI(SsMng.SsUserType.Height) - 100) %>'--%>
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>  

    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="None"  > 
    </telerik:RadAjaxLoadingPanel>
    
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" >
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="tvlProject">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="tvlProject" LoadingPanelID="RadAjaxLoadingPanel1"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="txtBgmYear">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="txtBgmYear" LoadingPanelID="RadAjaxLoadingPanel1"/>
                    <telerik:AjaxUpdatedControl ControlID="tvlProject" LoadingPanelID="RadAjaxLoadingPanel1"/>
                    <telerik:AjaxUpdatedControl ControlID="ddlBgmProjSeq" LoadingPanelID="RadAjaxLoadingPanel1"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="ddlJobSite">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ddlJobSite" LoadingPanelID="RadAjaxLoadingPanel1"/>
                    <telerik:AjaxUpdatedControl ControlID="tvlProject" LoadingPanelID="RadAjaxLoadingPanel1"/>
                    <telerik:AjaxUpdatedControl ControlID="ddlBgmProjSeq" LoadingPanelID="RadAjaxLoadingPanel1"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="ddlBgmProjSeq">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="ddlBgmProjSeq" LoadingPanelID="RadAjaxLoadingPanel1"/>
                    <telerik:AjaxUpdatedControl ControlID="tvlProject" LoadingPanelID="RadAjaxLoadingPanel1"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="PanelControl">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="PanelControl" LoadingPanelID="RadAjaxLoadingPanel1"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="rptViewOptionData">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rptViewOptionData" LoadingPanelID="RadAjaxLoadingPanel1"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="btnReport">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="btnReport" LoadingPanelID="RadAjaxLoadingPanel1"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
            <%--<telerik:AjaxSetting AjaxControlID="cmdViewHistory">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="cmdViewHistory" LoadingPanelID="RadAjaxLoadingPanel1"/>
                </UpdatedControls>
            </telerik:AjaxSetting>--%>
        </AjaxSettings>
    </telerik:RadAjaxManager>

<asp:Panel ID="PanelControl" runat="server">
    <div class="DivControl">
        <table width="100%">
            <tr>
                <td>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <span style="color: #FFFFFF; font-size: large; font-weight: bold">บริหารงบประมาณ</span>
                </td>
                <td align="right">
                    <asp:LinkButton ID="cmdViewControl" runat="server" CssClass="LinkButtonWhite" OnClientClick="openProjectControl()">
                        <img alt="" style="border:0px;vertical-align:middle;" src="../Image/Grid/Magnifier.gif" />&nbsp;บริหารเงินกองกลาง&nbsp;&nbsp;&nbsp;&nbsp;
                    </asp:LinkButton>
                    <asp:LinkButton ID="cmdViewHistory" runat="server" CssClass="LinkButtonWhite" OnClientClick="openProjectControlHistory()">
                        <img alt="" style="border:0px;vertical-align:middle;" src="../Image/Grid/Magnifier.gif" />&nbsp;รายงานบริหารเงินกองกลาง&nbsp;&nbsp;&nbsp;&nbsp;
                    </asp:LinkButton>
                </td>
            </tr>
        </table>
    </div>
</asp:Panel>
    <div class="DivBody">
        <asp:Panel ID="panel1" runat="server">
            <table>
                <tr valign="top">
                    <td align="left">
                        <div class="defaultFont">
                            <%--<asp:Label ID="lbTable" runat="server" Text=""></asp:Label>--%>
                            <table>
                                <tr>
                                    <td width="100px">
                                        ปี :
                                    </td>
                                    <td>
                                        <telerik:RadNumericTextBox ID="txtBgmYear" runat="server" Width="80px" 
                                            AutoPostBack="True" MinValue="2500" MaxValue="3000" MaxLength="4" 
                                            ShowSpinButtons="true" ontextchanged="txtBgmYear_TextChanged">
                                            <NumberFormat DecimalDigits="0" GroupSeparator="" />
                                        </telerik:RadNumericTextBox>
                                    </td>
                                </tr>
                            </table>
                            <table>
                                <tr>
                                    <td width="100px">
                                        หน่วยงาน :
                                    </td>
                                    <td>
                                        <telerik:RadComboBox ID="ddlJobSite" runat="server" Visible="true"
                                            OnSelectedIndexChanged="ddlJobSite_SelectedIndexChanged"
                                            AllowCustomText="true" CausesValidation="false" DataTextField="text" AutoPostBack="true"
                                            DataValueField="value" EmptyMessage=" พิมพ์ที่นี่เพื่อค้นหาหน่วยงาน " 
                                            Filter="Contains" Width="530px"><%--OnClientTextChange="onTextChange"--%>
                                        </telerik:RadComboBox>
                                    </td>
                                </tr>
                            </table>
                            <table>
                                <tr>
                                    <td width="100px">
                                        ชื่อโครงการ :
                                    </td>
                                    <td>
                                        <telerik:RadComboBox ID="ddlBgmProjSeq" runat="server" Width="530px"
                                            Filter="Contains" DataTextField="bgm_proj_name" AutoPostBack="true"
                                            DataValueField="bgm_proj_seq" EmptyMessage=" พิมพ์ที่นี่เพื่อค้นหาโครงการ" 
                                            onselectedindexchanged="ddlBgmProjSeq_SelectedIndexChanged">
                                        </telerik:RadComboBox>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </td>
                    <td>
                        <asp:Repeater ID="rptViewOptionData" runat="server">
                            <ItemTemplate>
                                <div style="padding:6px;">
                                    <asp:LinkButton ID="cmdViewOptionData" runat="server" 
                                        OnClientClick='<%# "openOptionSummary(@1)".Replace("@1", Eval("Sequence").ToString()) %>'>ดูข้อมูล <%# Eval("name") %></asp:LinkButton>
                                </div>
                                <%--<table>
                                    <tr>
                                        <td width="120px">
                                            <%# Eval("bgm_option_type_name") %>
                                        </td>
                                        <td>
                                            <telerik:RadComboBox ID="ddlFilterBgmOptionSeq" runat="server"
                                                DataTextField="bgm_option_name" DataValueField="bgm_option_seq"
                                                AutoPostBack="true"
                                                OnSelectedIndexChanged="ddlFilterBgmOptionSeq_SelectedIndexChanged">
                                            </telerik:RadComboBox>
                                        </td>
                                    </tr>
                                </table>--%>
                            </ItemTemplate>
                        </asp:Repeater>
                        <div style="padding:6px;">
                            <asp:LinkButton ID="btnReport" runat="server" Text="รายงานแสดงรายจ่ายโครงการ" OnClientClick="openReport()"></asp:LinkButton>
                        </div>
                    </td>
                </tr>
            </table>
        </asp:Panel>
    </div>
    <asp:Panel ID="panelList" runat="server">
        <div class="DivControl">
            <table width="100%">
                <tr>
                    <td>
                        &nbsp;&nbsp;&nbsp;&nbsp;
                        <span style="color: #FFFFFF; font-size: large; font-weight: bold">ข้อมูลโครงการ</span>
                    </td>
                    <td align="right">
                        <asp:Image ID="imgTooltip" runat="server" ImageUrl="~/APP_UI/Image/Buttons/tip.png" Height="20px" />&nbsp;&nbsp;&nbsp;&nbsp;
                        <telerik:RadToolTip ID="RadToolTip1" runat="server" TargetControlID="imgTooltip" RelativeTo="Element"
                            Position="MiddleLeft" RenderInPageRoot="true" AutoCloseDelay="0">
                            <h2>ความหมายของข้อมูลการใช้จ่ายเงินในโครงการ</h2>
                            <hr style="border:1px solid" />
                            <div style="text-align:left">
                                <ul>
                                    <li style="padding-bottom:10px">
                                        <b>(1)ได้รับจัดสรร : </b>จำนวนเงินที่ได้รับจัดสรร
                                    </li>
                                    <li style="padding-bottom:10px">
                                        <b>(2)โอน/รับโอน : </b><br/>+ จำนวนเงินที่ได้รับโอนจากโครงการอื่น<br />- จำนวนเงินที่โอนไปให้โครงการอื่น
                                    </li>
                                    <li style="padding-bottom:10px">
                                        <b>(3)อนุมัติดำเนินงาน : </b>จำนวนเงินที่ขออนุมัติดำเนินงาน - จำนวนเงินที่คืนสู่โครงการ
                                    </li>
                                    <li style="padding-bottom:10px">
                                        <b>(4)ตั้งเบิก : </b>จำนวนเงินที่ผ่านอนุมัติเบิกแล้ว
                                    </li>
                                    <li style="padding-bottom:10px">
                                        <b>(5)จ่ายแล้ว : </b>จำนวนเงินที่ผ่านการอนุมัติจ่ายแล้ว
                                    </li>
                                    <li style="padding-bottom:10px">
                                        <b>(6)คงเหลืออนุมัติฯ : </b>จำนวนเงินคงเหลือในยอดอนุมัติดำเนินงาน<br/><span style="color:green">(6) = (3) + (4) + (5)</span>
                                    </li>
                                    <li>
                                        <b>(7)คงเหลือจัดสรร : </b>จำนวนเงินคงเหลือในโครงการ<br/><span style="color:green">(7) = (1) + (2) - (3)</span>
                                    </li>
                                </ul>
                            </div>
                        </telerik:RadToolTip>
                    </td>
                </tr>
            </table>
        </div>
        <asp:Label ID="lblHeader_seq" runat="server" Visible="False"></asp:Label>
        <asp:HiddenField ID="hdfHeaderType" runat="server" />
        <telerik:RadTreeList ID="tvlProject" runat="server" AutoGenerateColumns="false"
            DataKeyNames="child_seq" ParentDataKeyNames="parent_seq"
            Width="998px"
            OnNeedDataSource="tvlProject_NeedDataSource"
            
            OnItemDataBound="tvlProject_ItemDataBound"><%-- AllowLoadOnDemand="true" OnChildItemsDataBind="tvlProject_ChildItemsDataBind"--%>
            <Columns>
                <telerik:TreeListBoundColumn DataField="child_seq" UniqueName="child_seq" Visible="false">
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="parent_seq" UniqueName="parent_seq" Visible="false">
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="record_status" UniqueName="record_status" Visible="false">
                </telerik:TreeListBoundColumn>

                <telerik:TreeListTemplateColumn DataField="name" UniqueName="name" HeaderText="">
                    <ItemTemplate>
                        <asp:Label ID="lblCode" runat="server" Text='<%# Eval("code") %>' ForeColor="Black" />
                        <asp:Label ID="lblName" runat="server" Text='<%# Eval("name") %>' ForeColor="Black" />
                        <asp:LinkButton ID="cmdViewOperation" runat="server" Text='<%# Eval("name") %>' ForeColor="Blue"
                            OnClientClick='<%# string.Format("return openProjectDetails(\"{0}\");", Eval("child_seq").ToString().Replace("/", "")) %>' />
                    </ItemTemplate>
                </telerik:TreeListTemplateColumn>
                <telerik:TreeListBoundColumn DataField="operation_amount" UniqueName="operation_amount" HeaderText="(1)ได้รับจัดสรร"
                    DataFormatString="{0:N2}">
                    <HeaderStyle Width="100px" HorizontalAlign="Right" />
                    <ItemStyle HorizontalAlign="Right" ForeColor="Black" />
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="transfer_amount" UniqueName="transfer_amount" HeaderText="(2)โอน/รับโอน"
                    DataFormatString="{0:N2}">
                    <HeaderStyle Width="100px" HorizontalAlign="Right" />
                    <ItemStyle HorizontalAlign="Right" ForeColor="Black" />
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="reserve_amount" UniqueName="reserve_amount" HeaderText="(3)อนุมัติดำเนินงาน"
                    DataFormatString="{0:N2}">
                    <HeaderStyle Width="110px" HorizontalAlign="Right" />
                    <ItemStyle HorizontalAlign="Right" ForeColor="Black" />
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="purchase_amount" UniqueName="purchase_amount" HeaderText="(4)จองเงิน"
                    DataFormatString="{0:N2}">
                    <HeaderStyle Width="100px" HorizontalAlign="Right" />
                    <ItemStyle HorizontalAlign="Right" ForeColor="Black" />
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="moneyreq_amount" UniqueName="moneyreq_amount" HeaderText="(5)ตั้งเบิก"
                    DataFormatString="{0:N2}">
                    <HeaderStyle Width="100px" HorizontalAlign="Right" />
                    <ItemStyle HorizontalAlign="Right" ForeColor="Black" />
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="pay_amount" UniqueName="pay_amount" HeaderText="(6)จ่ายแล้ว"
                    DataFormatString="{0:N2}">
                    <HeaderStyle Width="100px" HorizontalAlign="Right" />
                    <ItemStyle HorizontalAlign="Right" ForeColor="Black" />
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="reserve_remain_amount" UniqueName="reserve_remain_amount" HeaderText="(7)คงเหลืออนุมัติ"
                    DataFormatString="{0:N2}">
                    <HeaderStyle Width="100px" HorizontalAlign="Right" />
                    <ItemStyle HorizontalAlign="Right" ForeColor="Black" />
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="remain_amount" UniqueName="remain_amount" HeaderText="(8)คงเหลือจัดสรร"
                    DataFormatString="{0:N2}">
                    <HeaderStyle Width="100px" HorizontalAlign="Right" />
                    <ItemStyle HorizontalAlign="Right" />
                </telerik:TreeListBoundColumn>
            </Columns>
            <ClientSettings>
            </ClientSettings>
        </telerik:RadTreeList>
        <%--<telerik:RadTreeList ID="tvlProject" runat="server" AutoGenerateColumns="false"
            DataKeyNames="child_seq" ParentDataKeyNames="parent_seq" AllowLoadOnDemand="true"
            Width="998px" 
            
            OnNeedDataSource="tvlProject_NeedDataSource"
            OnChildItemsDataBind="tvlProject_ChildItemsDataBind"
            OnItemDataBound="tvlProject_ItemDataBound">
            <Columns>
                <telerik:TreeListBoundColumn DataField="child_seq" UniqueName="child_seq" Visible="false">
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="parent_seq" UniqueName="parent_seq" Visible="false">
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="record_status" UniqueName="record_status" Visible="false">
                </telerik:TreeListBoundColumn>

                <telerik:TreeListTemplateColumn DataField="name" UniqueName="name" HeaderText="">
                    <ItemTemplate>
                        <asp:Label ID="lblCode" runat="server" Text='<%# Eval("code") %>' ForeColor="Black" />
                        <asp:Label ID="lblName" runat="server" Text='<%# Eval("name") %>' ForeColor="Black" />
                        <asp:LinkButton ID="cmdViewOperation" runat="server" Text='<%# Eval("name") %>' ForeColor="Blue"
                            OnClientClick='<%# string.Format("return openProjectDetails(\"{0}\");", Eval("child_seq").ToString().Replace("/", "")) %>' />
                    </ItemTemplate>
                </telerik:TreeListTemplateColumn>
                <telerik:TreeListBoundColumn DataField="operation_amount" UniqueName="operation_amount" HeaderText="(1)ได้รับจัดสรร"
                    DataFormatString="{0:N2}">
                    <HeaderStyle Width="90px" HorizontalAlign="Right" />
                    <ItemStyle HorizontalAlign="Right" ForeColor="Black" />
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="transfer_amount" UniqueName="transfer_amount" HeaderText="(2)โอน/รับโอน"
                    DataFormatString="{0:N2}">
                    <HeaderStyle Width="90px" HorizontalAlign="Right" />
                    <ItemStyle HorizontalAlign="Right" ForeColor="Black" />
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="reserve_amount" UniqueName="reserve_amount" HeaderText="(3)อนุมัติโครงการ"
                    DataFormatString="{0:N2}">
                    <HeaderStyle Width="90px" HorizontalAlign="Right" />
                    <ItemStyle HorizontalAlign="Right" ForeColor="Black" />
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="moneyreq_amount" UniqueName="moneyreq_amount" HeaderText="(4)ตั้งเบิก"
                    DataFormatString="{0:N2}">
                    <HeaderStyle Width="90px" HorizontalAlign="Right" />
                    <ItemStyle HorizontalAlign="Right" ForeColor="Black" />
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="pay_amount" UniqueName="pay_amount" HeaderText="(5)จ่ายแล้ว"
                    DataFormatString="{0:N2}">
                    <HeaderStyle Width="90px" HorizontalAlign="Right" />
                    <ItemStyle HorizontalAlign="Right" ForeColor="Black" />
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="reserve_remain_amount" UniqueName="reserve_remain_amount" HeaderText="(6)คงเหลืออนุมัติฯ"
                    DataFormatString="{0:N2}">
                    <HeaderStyle Width="100px" HorizontalAlign="Right" />
                    <ItemStyle HorizontalAlign="Right" ForeColor="Black" />
                </telerik:TreeListBoundColumn>
                <telerik:TreeListBoundColumn DataField="remain_amount" UniqueName="remain_amount" HeaderText="(7)คงเหลือจัดสรร"
                    DataFormatString="{0:N2}">
                    <HeaderStyle Width="90px" HorizontalAlign="Right" />
                    <ItemStyle HorizontalAlign="Right" />
                </telerik:TreeListBoundColumn>
            </Columns>
            <ClientSettings>
            </ClientSettings>
        </telerik:RadTreeList>--%>
    </asp:Panel>
    
</asp:Content>
